using System;
using System.Collections.Generic;
using System.Text;

namespace TrainTicket.VO
{
    public class Account
    {
        private int _accountID;
        private string _userName;
        private string _password;
        private int _role;
        private string _address;
        private string _qualification;
        private int _age;
        private string _phoneNumber;
        private string _fullName;

        public int AccountID 
        {
            get { return _accountID; }
            set { _accountID = value; }
        }

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }
        
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public int Role
        {
            get { return _role; }
            set { _role = value; }
        }

        public string Address 
        {
            get { return _address; }
            set { _address = value; }
        }

        public string Qualification 
        {
            get { return _qualification; }
            set { _qualification = value; }
        }

        public int Age 
        {
            get { return _age; }
            set { _age = value; }
        }

        public string PhoneNumber 
        {
            get { return _phoneNumber; }
            set { _phoneNumber = value; }
        }

        public string FullName 
        {
            get { return _fullName; }
            set { _fullName = value; }
        }
        public Account()
        {
           
        }

        public Account(int accountid,string name, string password, int role, string address, string qualification,int age,string phonenumber,string fullname)
        {
            this._accountID=accountid;
            this._userName = name;
            this._password = password;
            this._role = role;
            this._address = address;
            this._qualification = qualification;
            this._age = age;
            this._phoneNumber = phonenumber;
            this._fullName = fullname;
        }
    }
}
